/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.folha.entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author marceloml
 */
@Entity
@Table(name="dia_semana")
public class DiaSemana implements Serializable{
    
    @Id        
    @Column(name = "CODIGO")
    private Integer id;    
    
    @Column(name = "DESCRICAO")
    private String nome;      

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNome() {
        return nome;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }
    
}